PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics Package / PDFCanvas Class / drawStencilMask Method
In This Topic
    drawStencilMask Method
    In This Topic
    Draws the specified at the specified location and with the specified size.
    A stencil mask is a B/W image where the 1 pixels are left transparent and 0 pixels are filled with the brush.
    If width is zero or negative then width is automatically computed in order to keep the original aspect ratio. If height is zero or negative then height is automatically computed in order to keep the original aspect ratio. If both width and height are negative then the stencil mask is scaled automatically to fit the given area and the original aspect ratio is kept.
    Overload List
    OverloadDescription
    Draws the specified at the specified location and with the specified size.
    A stencil mask is a B/W image where the 1 pixels are left transparent and 0 pixels are filled with the brush.
    If width is zero or negative then width is automatically computed in order to keep the original aspect ratio. If height is zero or negative then height is automatically computed in order to keep the original aspect ratio. If both width and height are negative then the stencil mask is scaled automatically to fit the given area and the original aspect ratio is kept.  
    Draws the specified at the specified location and with the specified size.
    A stencil mask is a B/W image where the 1 pixels are left transparent and 0 pixels are filled with the brush.
    If width is zero or negative then width is automatically computed in order to keep the original aspect ratio. If height is zero or negative then height is automatically computed in order to keep the original aspect ratio. If both width and height are negative then the stencil mask is scaled automatically to fit the given area and the original aspect ratio is kept.  
    Draws the specified at the specified location and with the specified size.
    A stencil mask is a B/W image where the 1 pixels are left transparent and 0 pixels are filled with the brush.
    If width is zero or negative then width is automatically computed in order to keep the original aspect ratio. If height is zero or negative then height is automatically computed in order to keep the original aspect ratio. If both width and height are negative then the stencil mask is scaled automatically to fit the given area and the original aspect ratio is kept.  
    See Also